<%@ page language="java" contentType="text/html; charset=utf-8"
    pageEncoding="utf-8"%>
 <%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
 <%@ page isELIgnored="false"%>   
 <%
	String contextPath = request.getContextPath();
	String contextBasePath = request.getScheme() + "://"+ request.getServerName() + ":" + request.getServerPort()+ contextPath + "/";
%>

   <c:set var="basePath"  value="<%=contextBasePath %>"/>
   <!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<!-- <title>亿程位置云服务</title> -->
	<link rel="icon" href="${basePath}resources/images/img/icon.png" type="image/x-icon"/>
    <link href="${basePath}resources/js/common/plugin/bootstrap/css/bootstrap.css" rel="stylesheet">
    <link href="${basePath}resources/js/common/plugin/bootstrap/css/bootstrap-responsive.css" rel="stylesheet">
    <link href="${basePath}resources/js/common/plugin/flexigrid/flexigrid.css" rel="stylesheet">
    <link href="${basePath}resources/js/common/plugin/select2/css/select2.min.css" rel="stylesheet" />
    <link href="${basePath}resources/css/common.css" rel="stylesheet">
    <link href="${basePath}resources/css/style.css" rel="stylesheet">
    <script src="${basePath}resources/js/common/plugin/jquery/jquery.min.js"></script>
    <script src="${basePath}resources/js/common/plugin/bootstrap/js/bootstrap.js"></script>
    <script src="${basePath}resources/js/common/plugin/flexigrid/flexigrid.js"></script>
    <script src="${basePath}resources/js/common/plugin/select2/js/select2.min.js"></script>
    
	<script type="text/javascript">
   		var appCtx = "${basePath}";
   		$.ajaxSetup({   
 	       contentType:"application/x-www-form-urlencoded;charset=utf-8",   
 	       complete:function(XMLHttpRequest,textStatus){ 
 	    	 if(XMLHttpRequest.getResponseHeader){
 	    		var sessionstatus=XMLHttpRequest.getResponseHeader("sessionstatus"); //通过XMLHttpRequest取得响应头，sessionstatus，  
		         if(sessionstatus=="timeout"){ 
		           window.location.replace(appCtx + "outTime.jsp");   
		         }   
	          }   
 	    	 }
 	         
 	     });
   </script>
   <style>
   #navbarModal .select2{
  	width:260px !important;
   	border:1px solid #dedede;
   }
   .select2-selection__placeholder{
   	color: #444 !important;
   }
   </style>
    </head>
    <body>
    <div class="loginOut modal hide fade" id="loginOut">
    	<div class="modal-header">
    		<button type="button"  class="close closeBtn" data-dismiss="modal" aria-hidden="true">×</button>
    		<h5 style="color:#fff;">修改密码</h5>
  		</div>
  		<div class="modal-body" style="align-items: center">
    		<div class="clearfix" style="">
    			<label class="label fl" >初始密码:</label>
    			<input class="input fl" id="oldPwd" type="password">
    		</div>
    		<div class="clearfix">
    			<label class="label fl">&nbsp;&nbsp;新密码:</label>
    			<input class="input fl" id="newPwd" type="password">
    		</div>
    		<div class="clearfix">
    			<label class="label fl">确认密码:</label>
    			<input class="input fl" id="confirm" type="password">
    		</div>
  		</div>
  		<div class="modal-footer" style="height: 56px">
			<a class="btn closeBtn" data-dismiss="modal" aria-hidden="true">关闭</a>
  			<a class="btn"id="updatePwdBtn" href="javascript:;">修改</a>
  		</div>
    </div>
	<!--提示弹框-->
	<div id="ajax-loading" >
		<a class="pa close" href="javascript:;"></a>
    	<img id="msgLoadImg" alt="" src="${basePath}resources/images/main/big_loading.gif">
    	<span id="msgSpan">正在拼命加载,请稍候!</span>
	</div>
	<!--提示弹框-->
	<!--全局遮罩-->
	<div id="mask"></div>
	<!--全局遮罩-->
 	<!-- div id="navbar" class="dn"  ><div id="navbarBtn" role="button" class="btn" data-toggle="modal"></div></div> -->
	<div id="navbarModal" class="modal hide fade" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
  		<div class="modal-header">
    		<button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
    		<h3 id="myModalLabel">工作记录</h3>
  		</div>
  		<div class="modal-body">
    		<ul class="">
    			<li class="item clearfix">
    				<label class="userLabel fl">通知对象:</label>
    				<select id="p_notifyObj" class="userInput fl">
    					<option value='1'>企业</option>
    					<option value='2'>司机</option>
    				</select>
    			</li>
    			<!-- 根据通知对象切换企业或者司机信息 -->
    			<li class="item clearfix">
    				<label class="userLabel fl" id="notifyId">企业:</label>
<!--     				<input type="hidden"  id="p_notifyId_name" /> -->
    				<select id="p_notifyId" type="text" class="userInput fl">
    				</select>
    			</li>
    			<li class="item clearfix">
    				<label class="userLabel fl">通知类型:</label>
    				<select id="p_notifyType" class="userInput fl">
    					<option value='1'>电话</option>
    					<option value='2'>邮件</option>
    					<option value='3'>短信</option>
    				</select>
    			</li>
    			<li class="item clearfix">
    				<label class="userLabel fl">通知内容:</label>
    				<textarea id="p_notifyCont" class="userInput fl" style="width: 260px; height:50px;" rows="50" cols="50"></textarea>
    			</li>
    		</ul>
  		</div>
  		<div class="modal-footer">
   		<button class="btn" data-dismiss="modal" aria-hidden="true">关闭</button>
    	<button class="btn btn-primary" id="btn">提交</button>
  	</div>
</div>

	<script src="${basePath}resources/js/common/main/addNotifyRecore.js"></script>
	</body>
	</html>

